import request from '@/utils/request'
// 分页获取版本
export function getEditionListPage(data){
    return request({
      url: 'edition/getEditionListPage',
      method: 'post',
      data: data
    })
  }

//    获取详情

export function getEditionById(data){
    return request({
      url: 'edition/getEditionById',
      method: 'post',
      data: data
    })
  }
// 删除
export function deleteEdition(data){
    return request({
      url: 'edition/deleteEdition',
      method: 'post',
      data: data
    })
  }
  // 编辑
export function updateEdition(data){
    return request({
      url: 'edition/updateEdition',
      method: 'post',
      data: data
    })
  }
  // 新增
export function saveEdition(data){
    return request({
      url: 'edition/saveEdition',
      method: 'post',
      data: data
    })
  }